﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace FormBaseLib
{
    public interface ICRUDEntry
    {
        bool EntryCreate();
        bool EntryRead();  // find cursor and fetch the entry buffer.
        bool EntryUpdate();
        bool EntryDelete();
        //bool EntryFindPrimaryKey();  // find cursor only. Not support for entry
        void EntryClear();
        bool EntryFetch();
        bool EntryFlush();
        bool EntryRestore();
        bool EntryCheckForCreate();
        bool EntryCheckForRead();
        bool EntryCheckForUpdate();
        bool EntryCheckForDelete();
        //bool EntryCheckForFind();

        void EntryShow(enumEntryMode iMode, string sMsg); // ok
    }
}
